package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 搜索历史表
 * </p>
 *
 * @author Mr.We
 * @since 2024-06-26
 */
@Getter
@Setter
@TableName("afshop_search_history")
@ApiModel(value = "AfshopSearchHistory对象", description = "搜索历史表")
public class AfshopSearchHistory implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("关键字")
    private String keyword;

    @ApiModelProperty("搜索来源，如PC、小程序、APP等")
    private String from;

    @ApiModelProperty("搜索时间")
    private Long addTime;

    @ApiModelProperty("会员Id")
    private String userId;
}
